package com.ruoyi.patrol.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.patrol.domain.vo.PtFormDetailVo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单填报学校对象 pt_form_filling
 * 
 * @author lkm
 * @date 2022-11-10
 */
public class PtFormFilling extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学校填报表单编号 */
    private Long id;

    /** 学校id */
    @Excel(name = "学校id")
    private Long schoolId;

    private String schoolName;

    /** 表单编号 */
    @Excel(name = "表单编号")
    private Long formId;

    public String getFormName() {
        return formName;
    }

    public void setFormName(String formName) {
        this.formName = formName;
    }

    /** 表单名称 */
    @Excel(name = "表单编号")
    private String formName;

    /** 表单详情数据 */
    private PtFormDetailVo ptFormDetailVo;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public PtFormDetailVo getPtFormDetailVo() {
        return ptFormDetailVo;
    }

    public void setPtFormDetailVo(PtFormDetailVo ptFormDetailVo) {
        this.ptFormDetailVo = ptFormDetailVo;
    }

    /** 表单填写时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "表单填写时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date fillTime;

    /** 表单提交状态（0：未提交，1：提交） */
    @Excel(name = "表单提交状态", readConverterExp = "0=：未提交，1：提交")
    private Long fillType;

    /** 表单提交时限 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "表单提交时限", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date fillTimeLimit;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSchoolId(Long schoolId) 
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId() 
    {
        return schoolId;
    }
    public void setFormId(Long formId) 
    {
        this.formId = formId;
    }

    public Long getFormId() 
    {
        return formId;
    }
    public void setFillTime(Date fillTime) 
    {
        this.fillTime = fillTime;
    }

    public Date getFillTime() 
    {
        return fillTime;
    }
    public void setFillType(Long fillType) 
    {
        this.fillType = fillType;
    }

    public Long getFillType() 
    {
        return fillType;
    }
    public void setFillTimeLimit(Date fillTimeLimit) 
    {
        this.fillTimeLimit = fillTimeLimit;
    }

    public Date getFillTimeLimit() 
    {
        return fillTimeLimit;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schoolId", getSchoolId())
            .append("formId", getFormId())
            .append("fillTime", getFillTime())
            .append("schoolName", getSchoolName())
            .append("fillType", getFillType())
            .append("fillTimeLimit", getFillTimeLimit())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("ptFormDetailVo", getPtFormDetailVo())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
